package com.ssi.mrms.model.enums;

public enum ApproveStatus {
	YES(1), NO(2);
	private int id;

	private ApproveStatus(int id) {
		this.id = id;
	}

	public int getId() {
		return id;
	}

	public static ApproveStatus get(int id) {
		if (id == 0)
			return null;
		for (ApproveStatus t : values()) {
			if (t.getId() == id) {
				return t;
			}
		}
		return null;
	}

}
